<template>
		<el-dialog 
		title="编辑角色" 
		:visible.sync="showEditor" 
		width="60%" 
		:before-close="handleClose">
		<el-form>
			<table>
				<tr>
					<td>角色名称</td>
					<td>
						<el-input />
					</td>
				</tr>
				<tr>
					<td colspan="2">wsss</td>
				</tr>
			</table>
		</el-form>
		<span slot="footer" class="dialog-footer">
    <el-button @click="handleClose">取 消</el-button>
    <el-button type="primary" @click="EditorThis">确 定</el-button>
  </span>
	</el-dialog>
</template>
<script>
	export default {
		props:['showEditor'],
		methods: {
			handleClose() {
				this.$parent.showEditor = false;
			},
			EditorThis() {
				
				
			}
		}
	}
</script>

<style lang="scss" scoped>
	
</style>